/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.*;

/**
 * @author Javier
 */
public class Midlet extends MIDlet {
    public MyCanvas myCanvas;

    public Midlet(){
        myCanvas = new MyCanvas();

        Display display = Display.getDisplay(this);
        display.setCurrent(myCanvas);

        Thread t = new Thread(myCanvas);
        t.start();
    }

    public void startApp() {
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
    }
}
